﻿using MvcSample.Data.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace MvcSample.Models
{
    public class StudentCreateVm
    {
        [Required,MaxLength(20)]
        public string FirstName { get; set; }
        [Required, MaxLength(20)]
        public string LastName { get; set; }
        [Required, DataType(DataType.Date)]
        public DateTime BirthDay { get; set; }
        public GenderEnum Gender { get; set; }
    }
}
